//
//  LearningView.h
//  HotWord
//
//  Created by Rainbow on 1/15/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Word.h"

@interface LearningWordView : UIView<UIScrollViewDelegate>
{
    NSInteger _meaningIndex;
    
}

@property (assign, nonatomic) NSInteger index;
@property (retain, nonatomic) Word *word; 
@property (retain, nonatomic) IBOutlet UILabel *wordLabel;
@property (retain, nonatomic) IBOutlet UILabel *slugLabel;
@property (retain, nonatomic) IBOutlet UIScrollView *translateScrollView;
@property (retain, nonatomic) IBOutlet UIScrollView *synonymScrollView;
@property (retain, nonatomic) IBOutlet UIScrollView *antonymScrollView;
@property (retain, nonatomic) IBOutlet UIScrollView *sentenceScrollView;
@property (retain, nonatomic) IBOutlet UIImageView *synonymLeftArrow;
@property (retain, nonatomic) IBOutlet UIImageView *synonymRightArrow;
@property (retain, nonatomic) IBOutlet UIImageView *antonymRightArrow;
@property (retain, nonatomic) IBOutlet UIImageView *antonymLeftArrow;
@property (retain, nonatomic) IBOutlet UIImageView *sentenceLeftArrow;
@property (retain, nonatomic) IBOutlet UIImageView *sentenceRightArrow;
@property (retain, nonatomic) IBOutlet UIPageControl *pageControl;
@property (retain, nonatomic) IBOutlet UIImageView *synonymLight;
@property (retain, nonatomic) IBOutlet UIImageView *antonymLight;
@property (retain, nonatomic) IBOutlet UIImageView *sentenceLight;

- (void)updateWord:(Word *)word;

- (void)reset;

@end
